From 9f88e189db4562fe04052b63a14e7d8b44c7733f Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 12 Oct 2002 03:38:21 +0000 Subject: [PATCH] Ignore extra fields on read, per Ozi developer. --- gpsbabel/ozi.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/gpsbabel/ozi.c b/gpsbabel/ozi.c index 91e804f8d..0f6ec4612 100644 --- a/gpsbabel/ozi.c +++ b/gpsbabel/ozi.c @@ -159,19 +159,10 @@ data_read(void) break; /* * Fields 18-23 were added around version 3.90.4g of - * Ozi, but aren't documented. We ignore them. + * Ozi, but aren't documented. We silently ignore + * these or any additional fields we don't need. */ - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - break; default: - /* whoa! nelly */ - fprintf (stderr, "%s: Warning: data fields on line %d exceed specification.\n", - MYNAME, linecount); break; } i++; -- 2.30.2